using System;
using System.Collections.Generic;
using System.Text;
using AlgorithmsVisualized.Controls;
using System.Collections.ObjectModel;

namespace DijkstraDemo1
{
    public class DijkstraStep : IStep
    {
        private List<Edge> _edges;
        private bool _isFinal;
        public ReadOnlyCollection<Edge> Edges
        {
            get { return _edges.AsReadOnly(); }
        }
        #region IStep Members

        public bool IsFinal
        {
            get
            {
                return _isFinal;
            }
            set
            {
                _isFinal = value;
            }
        }

        public IGraph State
        {
            get
            {
                throw new Exception("The method or operation is not implemented.");
            }
            set
            {
                throw new Exception("The method or operation is not implemented.");
            }
        }

        #endregion
    }
}
